﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
 /// <summary>
/// 保证金
/// </summary>
    public class DepositDTO
    {
  
        /// <summary>
        /// 主键
        /// </summary>
        public int DepositId { get; set; }

        /// <summary>
        /// 客户id
        /// </summary>
        public string?   ClientId { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
#pragma warning disable CS8618 // 在退出构造函数时，不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。
        public string ClientName { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时，不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。
        /// <summary>
        /// 类型名称
        /// </summary>
        public string? TypeName { get; set; }

        /// <summary>
        /// 类型Id
        /// </summary>
        public int? ClientTypeId { get; set; }

        /// <summary>
        /// 还款期次
        /// </summary>
        public string? Count { get; set; }

        /// <summary>
        /// 合同保证金
        /// </summary>
        public decimal? ContractBond { get; set; }

        /// <summary>
        /// 已退金额
        /// </summary>
        public decimal? AmountRefunded { get; set; }

        /// <summary>
        /// 剩余保证金
        /// </summary>
        public decimal? RemainingMargin { get; set; }

        /// <summary>
        /// 业务经办
        /// </summary>
        public string? BusinessManagementName { get; set; }

        /// <summary>
        /// 保证金状态
        /// </summary>
        public string? MoneystateName { get; set; }
        /// <summary>
        /// 起租日期
        /// </summary>
        public DateTime RentStartTime { get; set; }
        /// <summary>
        /// 保证金状态
        /// </summary>
        public int? MoneystateID { get; set; }
        /// <summary>
        /// 业务经办
        /// </summary>
        public int? BusinessManagementID { get; set; }


    }
}
